package com.example.kotlin.basis

/**
 * Created by xiao_tan on 17/7/23.
 * equals
 */
fun main(args:Array<String>){
    var str1 = "Andy"
    var str2 = "andy"

    println(str1==str2)
    println(str1.equals(str2))
    println(str1.equals(str2, true))//第二个参数代表忽略字符的大小写

}